# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ckbcomp
pkgver=1.208
pkgrel=0
pkgdesc="Compile a XKB keyboard description to a keymap"
url="https://packages.debian.org/sid/console-setup"
arch="noarch"
license="GPL-2.0-or-later"
depends="perl"
options="!check"
subpackages="$pkgname-doc"
source="https://deb.debian.org/debian/pool/main/c/console-setup/console-setup_$pkgver.tar.xz"
builddir="$srcdir"/console-setup-$pkgver

package() {
	install -D -m755 Keyboard/$pkgname $pkgdir/usr/bin/$pkgname
	install -D -m644 man/$pkgname.1 $pkgdir/usr/share/man/man1/$pkgname.1
}

sha512sums="
2fbc68bd6cf10e61eae50cef8fa8e26cc293f22d8303969032e2b693e9e4424cd87bcb7a411868694f7fac66365b3ac2f414dd281bc3dd3ad22d52a25e268313  console-setup_1.208.tar.xz
"
